object FormBus: TFormBus
  Left = 323
  Top = 163
  Width = 870
  Height = 519
  Caption = #1057#1087#1088#1072#1074#1086#1095#1085#1080#1082' '#1058#1057' '#1072#1074#1090#1086#1087#1072#1088#1082#1072
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnActivate = FormActivate
  PixelsPerInch = 96
  TextHeight = 13
  object Label2: TLabel
    Left = 8
    Top = 8
    Width = 111
    Height = 19
    Caption = #1040#1074#1090#1086#1084#1086#1073#1080#1083#1080
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'DejaVu Sans'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object DBGrid1: TDBGrid
    Left = 24
    Top = 80
    Width = 817
    Height = 321
    DataSource = DSBus
    PopupMenu = PopupMenuDoc
    ReadOnly = True
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    Columns = <
      item
        Expanded = False
        FieldName = 'NameModels'
        Title.Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1084#1086#1076#1077#1083#1080' '#1058#1057
        Width = 172
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'DATE_VR'
        Title.Caption = #1044#1072#1090#1072' '#1074#1099#1076#1072#1095#1080' '#1055#1058#1057
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'NUM_VR'
        Title.Caption = #8470' '#1055#1058#1057
        Width = 96
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'DATE_TS'
        Title.Caption = #1044#1072#1090#1072' '#1074#1099#1076#1072#1095#1080' '#1057#1058#1057
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'NUM_TS'
        Title.Caption = #8470' '#1057#1058#1057
        Width = 89
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'NUM_BODY'
        Title.Caption = #1043#1086#1089' '#1053#1086#1084#1077#1088' '#1058#1057
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'VIN'
        Title.Caption = 'VIN '#1082#1086#1076' '#1058#1057
        Visible = True
      end>
  end
  object DBNavigator1: TDBNavigator
    Left = 24
    Top = 408
    Width = 700
    Height = 33
    DataSource = DSBus
    TabOrder = 1
  end
  object pFIBDataSetBus: TpFIBDataSet
    SelectSQL.Strings = (
      'select * from bus')
    AutoUpdateOptions.UpdateTableName = 'BUS'
    AutoUpdateOptions.KeyFields = 'ID'
    AutoUpdateOptions.AutoReWriteSqls = True
    AutoUpdateOptions.CanChangeSQLs = True
    AutoUpdateOptions.UpdateOnlyModifiedFields = True
    Transaction = DataModule_tms.pFIBTransaction_tms
    Database = DataModule_tms.pFIBDatabase_tms
    AutoCommit = True
    Left = 24
    Top = 48
    object pFIBDataSetBusID: TFIBBCDField
      FieldName = 'ID'
      Size = 0
      RoundByScale = True
    end
    object pFIBDataSetBusID_MODELS: TFIBBCDField
      FieldName = 'ID_MODELS'
      Size = 0
      RoundByScale = True
    end
    object pFIBDataSetBusNUM_BODY: TFIBStringField
      FieldName = 'NUM_BODY'
      EmptyStrToNull = True
    end
    object pFIBDataSetBusVIN: TFIBStringField
      FieldName = 'VIN'
      EmptyStrToNull = True
    end
    object pFIBDataSetBusNUM_VR: TFIBStringField
      FieldName = 'NUM_VR'
      Size = 50
      EmptyStrToNull = True
    end
    object pFIBDataSetBusDATE_VR: TFIBDateField
      FieldName = 'DATE_VR'
      DisplayFormat = 'dd.mm.yyyy'
    end
    object pFIBDataSetBusNUM_TS: TFIBStringField
      FieldName = 'NUM_TS'
      Size = 50
      EmptyStrToNull = True
    end
    object pFIBDataSetBusDATE_TS: TFIBDateField
      FieldName = 'DATE_TS'
      DisplayFormat = 'dd.mm.yyyy'
    end
    object pFIBDataSetBusNameModels: TStringField
      FieldKind = fkLookup
      FieldName = 'NameModels'
      LookupDataSet = pFIBDataSetModels
      LookupKeyFields = 'ID'
      LookupResultField = 'NAME_MODELS'
      KeyFields = 'ID_MODELS'
      Size = 50
      Lookup = True
    end
  end
  object pFIBDataSetModels: TpFIBDataSet
    CachedUpdates = True
    SelectSQL.Strings = (
      'select * from models')
    Transaction = DataModule_tms.pFIBTransaction_tms
    Database = DataModule_tms.pFIBDatabase_tms
    UpdateTransaction = DataModule_tms.pFIBTransactionLookup
    Left = 64
    Top = 48
  end
  object DSBus: TDataSource
    DataSet = pFIBDataSetBus
    Left = 688
    Top = 352
  end
  object PopupMenuDoc: TPopupMenu
    Left = 216
    Top = 16
    object N1: TMenuItem
      Caption = #1042#1074#1086#1076' '#1058#1057' '#1074' '#1072#1074#1090#1086#1087#1072#1088#1082
      OnClick = N1Click
    end
    object N2: TMenuItem
      Caption = #1042#1099#1093#1086#1076' '#1085#1072' '#1084#1072#1088#1096#1088#1091#1090
    end
    object N3: TMenuItem
      Caption = #1055#1083#1072#1085#1086#1074#1086#1077' '#1058#1054
    end
    object N4: TMenuItem
      Caption = #1057#1093#1086#1076', '#1088#1077#1084#1086#1085#1090
    end
    object N5: TMenuItem
      Caption = #1055#1088#1086#1089#1090#1086#1081', '#1089#1090#1086#1103#1085#1082#1072
    end
    object N6: TMenuItem
      Caption = #1044#1058#1055', '#1086#1092#1086#1088#1084#1083#1077#1085#1080#1077
    end
    object N7: TMenuItem
      Caption = #1055#1088#1086#1076#1072#1078#1072' '#1058#1057
    end
  end
end
